package com.ztc.ZtcSpecialRecommendation.bean;

import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "ztc_special_recommendation")
public class ZtcSpecialRecommendation implements BaseEntity{
    /**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private String id;

    private String fkRouteStartSiteId;//

    private String fkRouteEndSiteId;//

    private String fkZtcRouteId;//

    private Integer type;//

    private Integer status;//

    private Date createTime;//

    public void setId(String id) {
        this.id = id;
    }

    public void setFkRouteStartSiteId(String fkRouteStartSiteId) {
        this.fkRouteStartSiteId = fkRouteStartSiteId;
    }

    public void setFkRouteEndSiteId(String fkRouteEndSiteId) {
        this.fkRouteEndSiteId = fkRouteEndSiteId;
    }

    public void setFkZtcRouteId(String fkZtcRouteId) {
        this.fkZtcRouteId = fkZtcRouteId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setCreateTime(Date createTime) { this.createTime = createTime;  }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="fk_route_start_site_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkRouteStartSiteId() {
        return fkRouteStartSiteId;
    }
    @Column(name ="fk_route_end_site_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkRouteEndSiteId() {
        return fkRouteEndSiteId;
    }
    @Column(name ="fk_ztc_route_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkZtcRouteId() {
        return fkZtcRouteId;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public Integer getType() {
        return type;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public Integer getStatus() {
        return status;
    }
    @Column(name ="create_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public Date getCreateTime() {  return createTime; }

}
